
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module runtime.script_objects</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="runtime.html"><font color="#ffffff">runtime</font></a>.script_objects</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/john/bin/game-baker/trunk/runtime/script_objects.py">/home/john/bin/game-baker/trunk/runtime/script_objects.py</a></font></td></tr></table>
    <p></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="pygame.color.html">pygame.color</a><br>
<a href="math.html">math</a><br>
</td><td width="25%" valign=top><a href="runtime.paths.html">runtime.paths</a><br>
<a href="pygame.html">pygame</a><br>
</td><td width="25%" valign=top><a href="pygame.locals.html">pygame.locals</a><br>
<a href="random.html">random</a><br>
</td><td width="25%" valign=top><a href="time.html">time</a><br>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="runtime.script_objects.html#scriptobject">scriptobject</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="runtime.script_objects.html#script_gameobject_dict">script_gameobject_dict</a>
</font></dt><dt><font face="helvetica, arial"><a href="runtime.script_objects.html#script_path">script_path</a>
</font></dt><dt><font face="helvetica, arial"><a href="runtime.script_objects.html#scriptgame">scriptgame</a>
</font></dt><dt><font face="helvetica, arial"><a href="runtime.script_objects.html#scriptgameobj">scriptgameobj</a>
</font></dt><dt><font face="helvetica, arial"><a href="runtime.script_objects.html#scriptgamescreen">scriptgamescreen</a>
</font></dt></dl>
</dd>
</dl>
</dd>
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="script_gameobject_dict">class <strong>script_gameobject_dict</strong></a>(<a href="runtime.script_objects.html#scriptobject">scriptobject</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Simple&nbsp;sequence&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;for&nbsp;game&nbsp;objects<br>
New&nbsp;Interface&nbsp;24th&nbsp;May&nbsp;2008<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="runtime.script_objects.html#script_gameobject_dict">script_gameobject_dict</a></dd>
<dd><a href="runtime.script_objects.html#scriptobject">scriptobject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="script_gameobject_dict-__getitem__"><strong>__getitem__</strong></a>(self, index)</dt></dl>

<dl><dt><a name="script_gameobject_dict-__init__"><strong>__init__</strong></a>(self, dictionary)</dt></dl>

<dl><dt><a name="script_gameobject_dict-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="script_gameobject_dict-keys"><strong>keys</strong></a>(self)</dt></dl>

<hr>
Data descriptors inherited from <a href="runtime.script_objects.html#scriptobject">scriptobject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="script_path">class <strong>script_path</strong></a>(<a href="runtime.script_objects.html#scriptobject">scriptobject</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Path&nbsp;Object&nbsp;for&nbsp;Scripting<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="runtime.script_objects.html#script_path">script_path</a></dd>
<dd><a href="runtime.script_objects.html#scriptobject">scriptobject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="script_path-__init__"><strong>__init__</strong></a>(self, script_game_object)</dt></dl>

<dl><dt><a name="script_path-add_point"><strong>add_point</strong></a>(self, x, y)</dt><dd><tt>Add&nbsp;a&nbsp;point</tt></dd></dl>

<dl><dt><a name="script_path-follow_path"><strong>follow_path</strong></a>(self, loop<font color="#909090">=False</font>, speed<font color="#909090">=None</font>, t<font color="#909090">=None</font>)</dt><dd><tt>If&nbsp;t&nbsp;is&nbsp;specified&nbsp;it&nbsp;should&nbsp;be&nbsp;between&nbsp;0&nbsp;and&nbsp;1</tt></dd></dl>

<dl><dt><a name="script_path-get_position"><strong>get_position</strong></a>(self, t)</dt><dd><tt>Get&nbsp;the&nbsp;current&nbsp;position&nbsp;from&nbsp;t&nbsp;where&nbsp;0&lt;=t&lt;=1</tt></dd></dl>

<dl><dt><a name="script_path-get_speed"><strong>get_speed</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;speed&nbsp;along&nbsp;the&nbsp;path</tt></dd></dl>

<dl><dt><a name="script_path-new_path"><strong>new_path</strong></a>(self, style<font color="#909090">='linear'</font>)</dt><dd><tt>Create&nbsp;a&nbsp;new&nbsp;path&nbsp;-&nbsp;style&nbsp;is&nbsp;one&nbsp;of&nbsp;["linear"]</tt></dd></dl>

<dl><dt><a name="script_path-set_point"><strong>set_point</strong></a>(self, point, x, y)</dt></dl>

<dl><dt><a name="script_path-set_speed"><strong>set_speed</strong></a>(self, speed<font color="#909090">=None</font>)</dt><dd><tt>Sets&nbsp;the&nbsp;speed&nbsp;along&nbsp;the&nbsp;path&nbsp;in&nbsp;pixels/second</tt></dd></dl>

<dl><dt><a name="script_path-start_path"><strong>start_path</strong></a>(self, speed<font color="#909090">=None</font>)</dt><dd><tt>Start&nbsp;following&nbsp;the&nbsp;path&nbsp;from&nbsp;the&nbsp;beginning</tt></dd></dl>

<hr>
Data descriptors inherited from <a href="runtime.script_objects.html#scriptobject">scriptobject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="scriptgame">class <strong>scriptgame</strong></a>(<a href="runtime.script_objects.html#scriptobject">scriptobject</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>The&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;used&nbsp;in&nbsp;scripting&nbsp;language&nbsp;for&nbsp;a&nbsp;*game*<br>
-&nbsp;all&nbsp;in-game&nbsp;data&nbsp;should&nbsp;be&nbsp;stored&nbsp;here&nbsp;so&nbsp;<br>
games&nbsp;can&nbsp;be&nbsp;saved&nbsp;easily<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="runtime.script_objects.html#scriptgame">scriptgame</a></dd>
<dd><a href="runtime.script_objects.html#scriptobject">scriptobject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="scriptgame-__init__"><strong>__init__</strong></a>(self, game)</dt></dl>

<dl><dt><a name="scriptgame-change_game_screen"><strong>change_game_screen</strong></a>(self, gs, savestate<font color="#909090">=False</font>)</dt></dl>

<hr>
Data descriptors inherited from <a href="runtime.script_objects.html#scriptobject">scriptobject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="scriptgameobj">class <strong>scriptgameobj</strong></a>(<a href="runtime.script_objects.html#scriptobject">scriptobject</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>The&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;used&nbsp;in&nbsp;scripting&nbsp;language&nbsp;for&nbsp;a&nbsp;*game&nbsp;<a href="__builtin__.html#object">object</a>*<br>
-&nbsp;all&nbsp;in-game&nbsp;data&nbsp;should&nbsp;be&nbsp;stored&nbsp;here&nbsp;so&nbsp;<br>
games&nbsp;can&nbsp;be&nbsp;saved&nbsp;easily<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="runtime.script_objects.html#scriptgameobj">scriptgameobj</a></dd>
<dd><a href="runtime.script_objects.html#scriptobject">scriptobject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="scriptgameobj-__init__"><strong>__init__</strong></a>(self, go, gamescreenobj)</dt></dl>

<dl><dt><a name="scriptgameobj-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Destroys&nbsp;a&nbsp;game&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;-&nbsp;removes&nbsp;it&nbsp;from&nbsp;the&nbsp;list</tt></dd></dl>

<dl><dt><a name="scriptgameobj-move_to_intercept"><strong>move_to_intercept</strong></a>(self, speed, target<font color="#909090">=None</font>, x<font color="#909090">=None</font>, y<font color="#909090">=None</font>, vx<font color="#909090">=None</font>, vy<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="scriptgameobj-move_towards"><strong>move_towards</strong></a>(self, x, y, speed)</dt><dd><tt>Moves&nbsp;an&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;towards&nbsp;a&nbsp;position</tt></dd></dl>

<dl><dt><a name="scriptgameobj-move_velocity"><strong>move_velocity</strong></a>(self)</dt></dl>

<dl><dt><a name="scriptgameobj-set_timer"><strong>set_timer</strong></a>(self, delay, message<font color="#909090">=''</font>)</dt><dd><tt>Adds&nbsp;a&nbsp;timer&nbsp;event</tt></dd></dl>

<hr>
Data descriptors inherited from <a href="runtime.script_objects.html#scriptobject">scriptobject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="scriptgamescreen">class <strong>scriptgamescreen</strong></a>(<a href="runtime.script_objects.html#scriptobject">scriptobject</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>The&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;used&nbsp;in&nbsp;scripting&nbsp;language&nbsp;for&nbsp;a&nbsp;*game&nbsp;screen*<br>
-&nbsp;all&nbsp;in-game&nbsp;data&nbsp;should&nbsp;be&nbsp;stored&nbsp;here&nbsp;so&nbsp;<br>
games&nbsp;can&nbsp;be&nbsp;saved&nbsp;easily<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="runtime.script_objects.html#scriptgamescreen">scriptgamescreen</a></dd>
<dd><a href="runtime.script_objects.html#scriptobject">scriptobject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="scriptgamescreen-__init__"><strong>__init__</strong></a>(self, gamescreen)</dt></dl>

<dl><dt><a name="scriptgamescreen-add_object"><strong>add_object</strong></a>(self, obj, name)</dt><dd><tt>Adds&nbsp;a&nbsp;new&nbsp;game&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;instance&nbsp;to&nbsp;a&nbsp;gamescreen</tt></dd></dl>

<dl><dt><a name="scriptgamescreen-check_collisions"><strong>check_collisions</strong></a>(self, obj1, obj2)</dt><dd><tt>Checks&nbsp;a&nbsp;collision&nbsp;between&nbsp;objects<br>
You&nbsp;can&nbsp;also&nbsp;provide&nbsp;lists&nbsp;of&nbsp;game&nbsp;objects&nbsp;to&nbsp;check</tt></dd></dl>

<dl><dt><a name="scriptgamescreen-get_collisions"><strong>get_collisions</strong></a>(self, obj1, obj2<font color="#909090">=[]</font>)</dt><dd><tt>Find&nbsp;which&nbsp;objects&nbsp;are&nbsp;colliding<br>
You&nbsp;can&nbsp;provide&nbsp;list(s)&nbsp;of&nbsp;game&nbsp;objects&nbsp;to&nbsp;check</tt></dd></dl>

<dl><dt><a name="scriptgamescreen-get_object"><strong>get_object</strong></a>(self, name)</dt><dd><tt>Returns&nbsp;the&nbsp;gameobject&nbsp;script&nbsp;interfaces&nbsp;for&nbsp;active&nbsp;game&nbsp;objects</tt></dd></dl>

<dl><dt><a name="scriptgamescreen-move_gamescreen"><strong>move_gamescreen</strong></a>(self, target, gradual<font color="#909090">=False</font>, maxspeed<font color="#909090">=10</font>, acceleration<font color="#909090">=2</font>)</dt></dl>

<dl><dt><a name="scriptgamescreen-remove_object"><strong>remove_object</strong></a>(self, name)</dt><dd><tt>removes&nbsp;a&nbsp;game&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;instance</tt></dd></dl>

<hr>
Data descriptors inherited from <a href="runtime.script_objects.html#scriptobject">scriptobject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="scriptobject">class <strong>scriptobject</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="scriptobject-__init__"><strong>__init__</strong></a>()</dt></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>ACTIVEEVENT</strong> = 1<br>
<strong>ANYFORMAT</strong> = 268435456<br>
<strong>ASYNCBLIT</strong> = 4<br>
<strong>AUDIO_S16</strong> = 32784<br>
<strong>AUDIO_S16LSB</strong> = 32784<br>
<strong>AUDIO_S16MSB</strong> = 36880<br>
<strong>AUDIO_S16SYS</strong> = 32784<br>
<strong>AUDIO_S8</strong> = 32776<br>
<strong>AUDIO_U16</strong> = 16<br>
<strong>AUDIO_U16LSB</strong> = 16<br>
<strong>AUDIO_U16MSB</strong> = 4112<br>
<strong>AUDIO_U16SYS</strong> = 16<br>
<strong>AUDIO_U8</strong> = 8<br>
<strong>DOUBLEBUF</strong> = 1073741824<br>
<strong>FULLSCREEN</strong> = -2147483648<br>
<strong>GL_ACCUM_ALPHA_SIZE</strong> = 11<br>
<strong>GL_ACCUM_BLUE_SIZE</strong> = 10<br>
<strong>GL_ACCUM_GREEN_SIZE</strong> = 9<br>
<strong>GL_ACCUM_RED_SIZE</strong> = 8<br>
<strong>GL_ALPHA_SIZE</strong> = 3<br>
<strong>GL_BLUE_SIZE</strong> = 2<br>
<strong>GL_BUFFER_SIZE</strong> = 4<br>
<strong>GL_DEPTH_SIZE</strong> = 6<br>
<strong>GL_DOUBLEBUFFER</strong> = 5<br>
<strong>GL_GREEN_SIZE</strong> = 1<br>
<strong>GL_MULTISAMPLEBUFFERS</strong> = 13<br>
<strong>GL_MULTISAMPLESAMPLES</strong> = 14<br>
<strong>GL_RED_SIZE</strong> = 0<br>
<strong>GL_STENCIL_SIZE</strong> = 7<br>
<strong>GL_STEREO</strong> = 12<br>
<strong>HAT_CENTERED</strong> = 0<br>
<strong>HAT_DOWN</strong> = 4<br>
<strong>HAT_LEFT</strong> = 8<br>
<strong>HAT_LEFTDOWN</strong> = 12<br>
<strong>HAT_LEFTUP</strong> = 9<br>
<strong>HAT_RIGHT</strong> = 2<br>
<strong>HAT_RIGHTDOWN</strong> = 6<br>
<strong>HAT_RIGHTUP</strong> = 3<br>
<strong>HAT_UP</strong> = 1<br>
<strong>HWACCEL</strong> = 256<br>
<strong>HWPALETTE</strong> = 536870912<br>
<strong>HWSURFACE</strong> = 1<br>
<strong>IYUV_OVERLAY</strong> = 1448433993<br>
<strong>JOYAXISMOTION</strong> = 7<br>
<strong>JOYBALLMOTION</strong> = 8<br>
<strong>JOYBUTTONDOWN</strong> = 10<br>
<strong>JOYBUTTONUP</strong> = 11<br>
<strong>JOYHATMOTION</strong> = 9<br>
<strong>KEYDOWN</strong> = 2<br>
<strong>KEYUP</strong> = 3<br>
<strong>KMOD_ALT</strong> = 768<br>
<strong>KMOD_CAPS</strong> = 8192<br>
<strong>KMOD_CTRL</strong> = 192<br>
<strong>KMOD_LALT</strong> = 256<br>
<strong>KMOD_LCTRL</strong> = 64<br>
<strong>KMOD_LMETA</strong> = 1024<br>
<strong>KMOD_LSHIFT</strong> = 1<br>
<strong>KMOD_META</strong> = 3072<br>
<strong>KMOD_MODE</strong> = 16384<br>
<strong>KMOD_NONE</strong> = 0<br>
<strong>KMOD_NUM</strong> = 4096<br>
<strong>KMOD_RALT</strong> = 512<br>
<strong>KMOD_RCTRL</strong> = 128<br>
<strong>KMOD_RMETA</strong> = 2048<br>
<strong>KMOD_RSHIFT</strong> = 2<br>
<strong>KMOD_SHIFT</strong> = 3<br>
<strong>K_0</strong> = 48<br>
<strong>K_1</strong> = 49<br>
<strong>K_2</strong> = 50<br>
<strong>K_3</strong> = 51<br>
<strong>K_4</strong> = 52<br>
<strong>K_5</strong> = 53<br>
<strong>K_6</strong> = 54<br>
<strong>K_7</strong> = 55<br>
<strong>K_8</strong> = 56<br>
<strong>K_9</strong> = 57<br>
<strong>K_AMPERSAND</strong> = 38<br>
<strong>K_ASTERISK</strong> = 42<br>
<strong>K_AT</strong> = 64<br>
<strong>K_BACKQUOTE</strong> = 96<br>
<strong>K_BACKSLASH</strong> = 92<br>
<strong>K_BACKSPACE</strong> = 8<br>
<strong>K_BREAK</strong> = 318<br>
<strong>K_CAPSLOCK</strong> = 301<br>
<strong>K_CARET</strong> = 94<br>
<strong>K_CLEAR</strong> = 12<br>
<strong>K_COLON</strong> = 58<br>
<strong>K_COMMA</strong> = 44<br>
<strong>K_DELETE</strong> = 127<br>
<strong>K_DOLLAR</strong> = 36<br>
<strong>K_DOWN</strong> = 274<br>
<strong>K_END</strong> = 279<br>
<strong>K_EQUALS</strong> = 61<br>
<strong>K_ESCAPE</strong> = 27<br>
<strong>K_EURO</strong> = 321<br>
<strong>K_EXCLAIM</strong> = 33<br>
<strong>K_F1</strong> = 282<br>
<strong>K_F10</strong> = 291<br>
<strong>K_F11</strong> = 292<br>
<strong>K_F12</strong> = 293<br>
<strong>K_F13</strong> = 294<br>
<strong>K_F14</strong> = 295<br>
<strong>K_F15</strong> = 296<br>
<strong>K_F2</strong> = 283<br>
<strong>K_F3</strong> = 284<br>
<strong>K_F4</strong> = 285<br>
<strong>K_F5</strong> = 286<br>
<strong>K_F6</strong> = 287<br>
<strong>K_F7</strong> = 288<br>
<strong>K_F8</strong> = 289<br>
<strong>K_F9</strong> = 290<br>
<strong>K_FIRST</strong> = 0<br>
<strong>K_GREATER</strong> = 62<br>
<strong>K_HASH</strong> = 35<br>
<strong>K_HELP</strong> = 315<br>
<strong>K_HOME</strong> = 278<br>
<strong>K_INSERT</strong> = 277<br>
<strong>K_KP0</strong> = 256<br>
<strong>K_KP1</strong> = 257<br>
<strong>K_KP2</strong> = 258<br>
<strong>K_KP3</strong> = 259<br>
<strong>K_KP4</strong> = 260<br>
<strong>K_KP5</strong> = 261<br>
<strong>K_KP6</strong> = 262<br>
<strong>K_KP7</strong> = 263<br>
<strong>K_KP8</strong> = 264<br>
<strong>K_KP9</strong> = 265<br>
<strong>K_KP_DIVIDE</strong> = 267<br>
<strong>K_KP_ENTER</strong> = 271<br>
<strong>K_KP_EQUALS</strong> = 272<br>
<strong>K_KP_MINUS</strong> = 269<br>
<strong>K_KP_MULTIPLY</strong> = 268<br>
<strong>K_KP_PERIOD</strong> = 266<br>
<strong>K_KP_PLUS</strong> = 270<br>
<strong>K_LALT</strong> = 308<br>
<strong>K_LAST</strong> = 323<br>
<strong>K_LCTRL</strong> = 306<br>
<strong>K_LEFT</strong> = 276<br>
<strong>K_LEFTBRACKET</strong> = 91<br>
<strong>K_LEFTPAREN</strong> = 40<br>
<strong>K_LESS</strong> = 60<br>
<strong>K_LMETA</strong> = 310<br>
<strong>K_LSHIFT</strong> = 304<br>
<strong>K_LSUPER</strong> = 311<br>
<strong>K_MENU</strong> = 319<br>
<strong>K_MINUS</strong> = 45<br>
<strong>K_MODE</strong> = 313<br>
<strong>K_NUMLOCK</strong> = 300<br>
<strong>K_PAGEDOWN</strong> = 281<br>
<strong>K_PAGEUP</strong> = 280<br>
<strong>K_PAUSE</strong> = 19<br>
<strong>K_PERIOD</strong> = 46<br>
<strong>K_PLUS</strong> = 43<br>
<strong>K_POWER</strong> = 320<br>
<strong>K_PRINT</strong> = 316<br>
<strong>K_QUESTION</strong> = 63<br>
<strong>K_QUOTE</strong> = 39<br>
<strong>K_QUOTEDBL</strong> = 34<br>
<strong>K_RALT</strong> = 307<br>
<strong>K_RCTRL</strong> = 305<br>
<strong>K_RETURN</strong> = 13<br>
<strong>K_RIGHT</strong> = 275<br>
<strong>K_RIGHTBRACKET</strong> = 93<br>
<strong>K_RIGHTPAREN</strong> = 41<br>
<strong>K_RMETA</strong> = 309<br>
<strong>K_RSHIFT</strong> = 303<br>
<strong>K_RSUPER</strong> = 312<br>
<strong>K_SCROLLOCK</strong> = 302<br>
<strong>K_SEMICOLON</strong> = 59<br>
<strong>K_SLASH</strong> = 47<br>
<strong>K_SPACE</strong> = 32<br>
<strong>K_SYSREQ</strong> = 317<br>
<strong>K_TAB</strong> = 9<br>
<strong>K_UNDERSCORE</strong> = 95<br>
<strong>K_UNKNOWN</strong> = 0<br>
<strong>K_UP</strong> = 273<br>
<strong>K_a</strong> = 97<br>
<strong>K_b</strong> = 98<br>
<strong>K_c</strong> = 99<br>
<strong>K_d</strong> = 100<br>
<strong>K_e</strong> = 101<br>
<strong>K_f</strong> = 102<br>
<strong>K_g</strong> = 103<br>
<strong>K_h</strong> = 104<br>
<strong>K_i</strong> = 105<br>
<strong>K_j</strong> = 106<br>
<strong>K_k</strong> = 107<br>
<strong>K_l</strong> = 108<br>
<strong>K_m</strong> = 109<br>
<strong>K_n</strong> = 110<br>
<strong>K_o</strong> = 111<br>
<strong>K_p</strong> = 112<br>
<strong>K_q</strong> = 113<br>
<strong>K_r</strong> = 114<br>
<strong>K_s</strong> = 115<br>
<strong>K_t</strong> = 116<br>
<strong>K_u</strong> = 117<br>
<strong>K_v</strong> = 118<br>
<strong>K_w</strong> = 119<br>
<strong>K_x</strong> = 120<br>
<strong>K_y</strong> = 121<br>
<strong>K_z</strong> = 122<br>
<strong>MOUSEBUTTONDOWN</strong> = 5<br>
<strong>MOUSEBUTTONUP</strong> = 6<br>
<strong>MOUSEMOTION</strong> = 4<br>
<strong>NOEVENT</strong> = 0<br>
<strong>NOFRAME</strong> = 32<br>
<strong>NUMEVENTS</strong> = 32<br>
<strong>OPENGL</strong> = 2<br>
<strong>OPENGLBLIT</strong> = 10<br>
<strong>PREALLOC</strong> = 16777216<br>
<strong>QUIT</strong> = 12<br>
<strong>RESIZABLE</strong> = 16<br>
<strong>RLEACCEL</strong> = 16384<br>
<strong>RLEACCELOK</strong> = 8192<br>
<strong>SRCALPHA</strong> = 65536<br>
<strong>SRCCOLORKEY</strong> = 4096<br>
<strong>SWSURFACE</strong> = 0<br>
<strong>SYSWMEVENT</strong> = 13<br>
<strong>TIMER_RESOLUTION</strong> = 10<br>
<strong>USEREVENT</strong> = 24<br>
<strong>UYVY_OVERLAY</strong> = 1498831189<br>
<strong>VIDEOEXPOSE</strong> = 17<br>
<strong>VIDEORESIZE</strong> = 16<br>
<strong>YUY2_OVERLAY</strong> = 844715353<br>
<strong>YV12_OVERLAY</strong> = 842094169<br>
<strong>YVYU_OVERLAY</strong> = 1431918169</td></tr></table>
</body></html>